<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/MotionPlanner.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">MotionPlanner.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_motion_planner_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef slic3r_MotionPlanner_hpp_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define slic3r_MotionPlanner_hpp_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="libslic3r_8h.html">libslic3r.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_clipper_utils_8hpp.html">ClipperUtils.hpp</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_ex_polygon_collection_8hpp.html">ExPolygonCollection.hpp</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_polyline_8hpp.html">Polyline.hpp</a>&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_slic3r.html">Slic3r</a> {</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4c3de5863cf1467e7c763b58ab594f16">   14</a></span>&#160;constexpr <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> <a class="code" href="namespace_slic3r.html#a4c3de5863cf1467e7c763b58ab594f16">MP_INNER_MARGIN</a> = <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(1.0);</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#ac5cd427cd806cdcb8359092290044e3a">   15</a></span>&#160;constexpr <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> <a class="code" href="namespace_slic3r.html#ac5cd427cd806cdcb8359092290044e3a">MP_OUTER_MARGIN</a> = <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(2.0);</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_motion_planner.html">MotionPlanner</a>;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_env.html">   19</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_motion_planner_env.html">MotionPlannerEnv</a></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_env.html#a17e954ef3da33466cbfb8f821611ff68">   21</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_slic3r_1_1_motion_planner.html">MotionPlanner</a>;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    </div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_env.html#a4a2b1f4e8dde7a66bb0dfc0385aac747">   24</a></span>&#160;    <a class="code" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> <a class="code" href="class_slic3r_1_1_motion_planner_env.html#a4a2b1f4e8dde7a66bb0dfc0385aac747">island</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_env.html#ab0911639b92a9a66e49237e115e4e477">   25</a></span>&#160;    <a class="code" href="class_slic3r_1_1_ex_polygon_collection.html">ExPolygonCollection</a> <a class="code" href="class_slic3r_1_1_motion_planner_env.html#ab0911639b92a9a66e49237e115e4e477">env</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_env.html#a85eeb2b609e9a1345761d61a48f121de">   26</a></span>&#160;    <a class="code" href="class_slic3r_1_1_motion_planner_env.html#a85eeb2b609e9a1345761d61a48f121de">MotionPlannerEnv</a>() {};</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_env.html#a242392085c652c473f8eedce52278729">   27</a></span>&#160;    <a class="code" href="class_slic3r_1_1_motion_planner_env.html#a242392085c652c473f8eedce52278729">MotionPlannerEnv</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> &amp;island) : island(island) {};</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="class_slic3r_1_1_point.html">Point</a> <a class="code" href="class_slic3r_1_1_motion_planner_env.html#a0822fc2f713105048dc4640b30eac815">nearest_env_point</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;from, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;to) <span class="keyword">const</span>;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;};</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_graph.html">   31</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_motion_planner_graph.html">MotionPlannerGraph</a></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_graph.html#a17e954ef3da33466cbfb8f821611ff68">   33</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_slic3r_1_1_motion_planner.html">MotionPlanner</a>;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    </div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keyword">typedef</span> <span class="keywordtype">int</span> node_t;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keyword">typedef</span> <span class="keywordtype">double</span> weight_t;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keyword">struct </span>neighbor {</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        node_t target;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        weight_t weight;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        neighbor(node_t arg_target, weight_t arg_weight)</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            : target(arg_target), weight(arg_weight) { }</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    };</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">typedef</span> std::vector&lt; std::vector&lt;neighbor&gt; &gt; adjacency_list_t;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    adjacency_list_t adjacency_list;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    </div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner_graph.html#a717c798586769e09a7e4ce463922d399">   48</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> <a class="code" href="class_slic3r_1_1_motion_planner_graph.html#a717c798586769e09a7e4ce463922d399">nodes</a>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="comment">//std::map&lt;std::pair&lt;size_t,size_t&gt;, double&gt; edges;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_motion_planner_graph.html#afc22f9ff5458dc0b2278e53fdad95eaf">add_edge</a>(node_t from, node_t to, <span class="keywordtype">double</span> weight);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="class_slic3r_1_1_motion_planner_graph.html#a7c46870d270b5b382c2fd12ddae6c2c1">find_node</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;point) <span class="keyword">const</span>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <a class="code" href="class_slic3r_1_1_polyline.html">Polyline</a> <a class="code" href="class_slic3r_1_1_motion_planner_graph.html#ac04eba13b912cb9b565ac617a3a56354">shortest_path</a>(node_t from, node_t to);</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;};</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_motion_planner.html">   55</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_motion_planner.html">MotionPlanner</a></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;{</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="class_slic3r_1_1_motion_planner.html#a8712c1363b369d6dfa1dc701ea5b966f">MotionPlanner</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">ExPolygons</a> &amp;islands);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="class_slic3r_1_1_motion_planner.html#a80d28e7ac4ca3604c1e055de8fdb1c4c">~MotionPlanner</a>();</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="class_slic3r_1_1_polyline.html">Polyline</a> <a class="code" href="class_slic3r_1_1_motion_planner.html#a67b29a8e969722ff0b7417b0326c398d">shortest_path</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;from, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;to);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="class_slic3r_1_1_motion_planner.html#a7eb98af21e256825c327210e1653977f">islands_count</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    </div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordtype">bool</span> initialized;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    std::vector&lt;MotionPlannerEnv&gt; islands;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="class_slic3r_1_1_motion_planner_env.html">MotionPlannerEnv</a> outer;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    std::vector&lt;MotionPlannerGraph*&gt; graphs;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    </div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> initialize();</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="class_slic3r_1_1_motion_planner_graph.html">MotionPlannerGraph</a>* init_graph(<span class="keywordtype">int</span> island_idx);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_motion_planner_env.html">MotionPlannerEnv</a>&amp; get_env(<span class="keywordtype">int</span> island_idx) <span class="keyword">const</span>;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;};</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;}</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_slic3r_1_1_motion_planner_graph_html_a717c798586769e09a7e4ce463922d399"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_graph.html#a717c798586769e09a7e4ce463922d399">Slic3r::MotionPlannerGraph::nodes</a></div><div class="ttdeci">Points nodes</div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:48</div></div>
<div class="ttc" id="class_slic3r_1_1_polyline_html"><div class="ttname"><a href="class_slic3r_1_1_polyline.html">Slic3r::Polyline</a></div><div class="ttdef"><b>Definition:</b> Polyline.hpp:18</div></div>
<div class="ttc" id="libslic3r_8h_html"><div class="ttname"><a href="libslic3r_8h.html">libslic3r.h</a></div></div>
<div class="ttc" id="namespace_slic3r_html_ab6d77625bc973b0c03e577944f90f297"><div class="ttname"><a href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">Slic3r::coord_t</a></div><div class="ttdeci">long coord_t</div><div class="ttdef"><b>Definition:</b> libslic3r.h:41</div></div>
<div class="ttc" id="namespace_slic3r_html_ac5cd427cd806cdcb8359092290044e3a"><div class="ttname"><a href="namespace_slic3r.html#ac5cd427cd806cdcb8359092290044e3a">Slic3r::MP_OUTER_MARGIN</a></div><div class="ttdeci">constexpr coord_t MP_OUTER_MARGIN</div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:15</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_env_html_a0822fc2f713105048dc4640b30eac815"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_env.html#a0822fc2f713105048dc4640b30eac815">Slic3r::MotionPlannerEnv::nearest_env_point</a></div><div class="ttdeci">Point nearest_env_point(const Point &amp;from, const Point &amp;to) const</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:266</div></div>
<div class="ttc" id="namespace_slic3r_html_a47d04f71423ecef9ad36e18046f11c3c"><div class="ttname"><a href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Slic3r::Points</a></div><div class="ttdeci">std::vector&lt; Point &gt; Points</div><div class="ttdef"><b>Definition:</b> Point.hpp:21</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_env_html_a4a2b1f4e8dde7a66bb0dfc0385aac747"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_env.html#a4a2b1f4e8dde7a66bb0dfc0385aac747">Slic3r::MotionPlannerEnv::island</a></div><div class="ttdeci">ExPolygon island</div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:24</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_graph_html_a7c46870d270b5b382c2fd12ddae6c2c1"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_graph.html#a7c46870d270b5b382c2fd12ddae6c2c1">Slic3r::MotionPlannerGraph::find_node</a></div><div class="ttdeci">size_t find_node(const Point &amp;point) const</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:330</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_env_html_a85eeb2b609e9a1345761d61a48f121de"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_env.html#a85eeb2b609e9a1345761d61a48f121de">Slic3r::MotionPlannerEnv::MotionPlannerEnv</a></div><div class="ttdeci">MotionPlannerEnv()</div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:26</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_env_html_ab0911639b92a9a66e49237e115e4e477"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_env.html#ab0911639b92a9a66e49237e115e4e477">Slic3r::MotionPlannerEnv::env</a></div><div class="ttdeci">ExPolygonCollection env</div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:25</div></div>
<div class="ttc" id="_ex_polygon_collection_8hpp_html"><div class="ttname"><a href="_ex_polygon_collection_8hpp.html">ExPolygonCollection.hpp</a></div></div>
<div class="ttc" id="namespace_slic3r_html_a4c3de5863cf1467e7c763b58ab594f16"><div class="ttname"><a href="namespace_slic3r.html#a4c3de5863cf1467e7c763b58ab594f16">Slic3r::MP_INNER_MARGIN</a></div><div class="ttdeci">constexpr coord_t MP_INNER_MARGIN</div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:14</div></div>
<div class="ttc" id="class_slic3r_1_1_ex_polygon_collection_html"><div class="ttname"><a href="class_slic3r_1_1_ex_polygon_collection.html">Slic3r::ExPolygonCollection</a></div><div class="ttdef"><b>Definition:</b> ExPolygonCollection.hpp:14</div></div>
<div class="ttc" id="namespace_slic3r_html_a9a0d9b5718fd26081d3fc9f143f2b246"><div class="ttname"><a href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">Slic3r::scale_</a></div><div class="ttdeci">constexpr coord_t scale_(const coordf_t &amp;val)</div><div class="ttdef"><b>Definition:</b> libslic3r.h:48</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_html"><div class="ttname"><a href="class_slic3r_1_1_motion_planner.html">Slic3r::MotionPlanner</a></div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:55</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_html_a80d28e7ac4ca3604c1e055de8fdb1c4c"><div class="ttname"><a href="class_slic3r_1_1_motion_planner.html#a80d28e7ac4ca3604c1e055de8fdb1c4c">Slic3r::MotionPlanner::~MotionPlanner</a></div><div class="ttdeci">~MotionPlanner()</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:23</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_graph_html_afc22f9ff5458dc0b2278e53fdad95eaf"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_graph.html#afc22f9ff5458dc0b2278e53fdad95eaf">Slic3r::MotionPlannerGraph::add_edge</a></div><div class="ttdeci">void add_edge(node_t from, node_t to, double weight)</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:320</div></div>
<div class="ttc" id="class_slic3r_1_1_point_html"><div class="ttname"><a href="class_slic3r_1_1_point.html">Slic3r::Point</a></div><div class="ttdef"><b>Definition:</b> Point.hpp:27</div></div>
<div class="ttc" id="namespace_slic3r_html"><div class="ttname"><a href="namespace_slic3r.html">Slic3r</a></div><div class="ttdef"><b>Definition:</b> BoundingBox.cpp:4</div></div>
<div class="ttc" id="class_slic3r_1_1_ex_polygon_html"><div class="ttname"><a href="class_slic3r_1_1_ex_polygon.html">Slic3r::ExPolygon</a></div><div class="ttdef"><b>Definition:</b> ExPolygon.hpp:16</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_html_a7eb98af21e256825c327210e1653977f"><div class="ttname"><a href="class_slic3r_1_1_motion_planner.html#a7eb98af21e256825c327210e1653977f">Slic3r::MotionPlanner::islands_count</a></div><div class="ttdeci">size_t islands_count() const</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:30</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_html_a67b29a8e969722ff0b7417b0326c398d"><div class="ttname"><a href="class_slic3r_1_1_motion_planner.html#a67b29a8e969722ff0b7417b0326c398d">Slic3r::MotionPlanner::shortest_path</a></div><div class="ttdeci">Polyline shortest_path(const Point &amp;from, const Point &amp;to)</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:84</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_graph_html"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_graph.html">Slic3r::MotionPlannerGraph</a></div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:31</div></div>
<div class="ttc" id="_polyline_8hpp_html"><div class="ttname"><a href="_polyline_8hpp.html">Polyline.hpp</a></div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_graph_html_ac04eba13b912cb9b565ac617a3a56354"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_graph.html#ac04eba13b912cb9b565ac617a3a56354">Slic3r::MotionPlannerGraph::shortest_path</a></div><div class="ttdeci">Polyline shortest_path(node_t from, node_t to)</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:341</div></div>
<div class="ttc" id="namespace_slic3r_html_a9306b728b4672f5e56abe05ba7437fe1"><div class="ttname"><a href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="ttdeci">std::vector&lt; ExPolygon &gt; ExPolygons</div><div class="ttdef"><b>Definition:</b> ExPolygon.hpp:13</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_env_html"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_env.html">Slic3r::MotionPlannerEnv</a></div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:19</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_html_a8712c1363b369d6dfa1dc701ea5b966f"><div class="ttname"><a href="class_slic3r_1_1_motion_planner.html#a8712c1363b369d6dfa1dc701ea5b966f">Slic3r::MotionPlanner::MotionPlanner</a></div><div class="ttdeci">MotionPlanner(const ExPolygons &amp;islands)</div><div class="ttdef"><b>Definition:</b> MotionPlanner.cpp:12</div></div>
<div class="ttc" id="class_slic3r_1_1_motion_planner_env_html_a242392085c652c473f8eedce52278729"><div class="ttname"><a href="class_slic3r_1_1_motion_planner_env.html#a242392085c652c473f8eedce52278729">Slic3r::MotionPlannerEnv::MotionPlannerEnv</a></div><div class="ttdeci">MotionPlannerEnv(const ExPolygon &amp;island)</div><div class="ttdef"><b>Definition:</b> MotionPlanner.hpp:27</div></div>
<div class="ttc" id="_clipper_utils_8hpp_html"><div class="ttname"><a href="_clipper_utils_8hpp.html">ClipperUtils.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
